package cn.iocoder.yudao.module.member.enums;

import cn.iocoder.yudao.framework.common.core.IntArrayValuable;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Arrays;

@AllArgsConstructor
@Getter
public enum MemberAuthBizTypeEnum implements IntArrayValuable {
    AUTH(0, "审核中"),
    SUCCESS(1, "审核通过"),
    REJECT(2, "审核失败")
    ;
    public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(MemberAuthBizTypeEnum::getType).toArray();

    /**
     * 类型
     */
    private final Integer type;

    /**
     * title
     */
    private final String title;


    @Override
    public int[] array() {
        return ARRAYS;
    }
}
